<template>
  <div>
    <!-- 二级路由出口 -->
    <router-view></router-view>
    <!-- <div>我是首页</div> -->
    <van-tabbar v-model="active">
      <van-tabbar-item icon="wap-home-o" to="/homepage">首页</van-tabbar-item>
      <van-tabbar-item icon="search" to="/findhouse">找房</van-tabbar-item>
      <van-tabbar-item icon="description" to="/info">资讯</van-tabbar-item>
      <van-tabbar-item icon="contact" to="/myinfo">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  name: 'Layout',
  data () {
    return {
      active: '0'
    }
  }
}
</script>

<style></style>
